package org.com.coolfish.common.database.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.Table;

@Table(name = "kuyu_order_account")
@Entity
public class KuyuOrderAccount extends IdEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    private Integer uid;
    private Integer type; 	//订单类型 （新酷卡，0月租卡 ....）
    private String openid;
    private Integer orderID;
    private Date addtime;
    private Integer status; //订单完成状态，1未完成，2充值完成 3 订单完成
    private BigDecimal money;//支付金额
    private Integer fid;
    private Integer sid;
    private Integer tid;
    private Integer trade_type;//支付方式，1微信支付
    private String iccid;
    private Integer cardid;
    private Integer operatorid;
    private Integer did;
    
	public KuyuOrderAccount() {
		super();
	}
	

	public KuyuOrderAccount(Integer uid, Integer type, String openid, Integer orderID, Date addtime, Integer status,
			BigDecimal money, Integer fid, Integer sid, Integer tid, Integer trade_type, String iccid, Integer cardid,
			Integer operatorid, Integer did) {
		super();
		this.uid = uid;
		this.type = type;
		this.openid = openid;
		this.orderID = orderID;
		this.addtime = addtime;
		this.status = status;
		this.money = money;
		this.fid = fid;
		this.sid = sid;
		this.tid = tid;
		this.trade_type = trade_type;
		this.iccid = iccid;
		this.cardid = cardid;
		this.operatorid = operatorid;
		this.did = did;
	}


	public Integer getUid() {
		return uid;
	}
	public void setUid(Integer uid) {
		this.uid = uid;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public String getOpenid() {
		return openid;
	}
	public void setOpenid(String openid) {
		this.openid = openid;
	}
	public Integer getOrderID() {
		return orderID;
	}
	public void setOrderID(Integer orderID) {
		this.orderID = orderID;
	}
	public Date getAddtime() {
		return addtime;
	}
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public BigDecimal getMoney() {
		return money;
	}
	public void setMoney(BigDecimal money) {
		this.money = money;
	}
	public Integer getFid() {
		return fid;
	}
	public void setFid(Integer fid) {
		this.fid = fid;
	}
	public Integer getSid() {
		return sid;
	}
	public void setSid(Integer sid) {
		this.sid = sid;
	}
	public Integer getTid() {
		return tid;
	}
	public void setTid(Integer tid) {
		this.tid = tid;
	}
	public Integer getTrade_type() {
		return trade_type;
	}
	public void setTrade_type(Integer trade_type) {
		this.trade_type = trade_type;
	}
	public String getIccid() {
		return iccid;
	}
	public void setIccid(String iccid) {
		this.iccid = iccid;
	}
	public Integer getCardid() {
		return cardid;
	}
	public void setCardid(Integer cardid) {
		this.cardid = cardid;
	}
	public Integer getDid() {
		return did;
	}
	public void setDid(Integer did) {
		this.did = did;
	}
	
	public Integer getOperatorid() {
		return operatorid;
	}


	public void setOperatorid(Integer operatorid) {
		this.operatorid = operatorid;
	}


	@Override
	public String toString() {
		return "KuyuOrderAccount [uid=" + uid + ", type=" + type + ", openid=" + openid + ", orderID=" + orderID
				+ ", addtime=" + addtime + ", status=" + status + ", money=" + money + ", fid=" + fid + ", sid=" + sid
				+ ", tid=" + tid + ", trade_type=" + trade_type + ", iccid=" + iccid + ", cardid=" + cardid
				+ ", operatorid=" + operatorid + ", did=" + did + "]";
	}


    
}